package com.biz.primus.model.tms.vo;

import com.biz.primus.model.tms.enums.DeliveryPriority;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * OrderInfoVo
 *
 * @author JKLiues
 * @date 2017年11月27日
 */
@Getter
@Setter
@ApiModel("订单基础信息")
public class OrderInfoVo implements Serializable {
    private static final long serialVersionUID = -2649183131988676147L;

    @ApiModelProperty("订单来源")
    private String orderSource;

    @ApiModelProperty("订单编号")
    private String orderCode;

    @ApiModelProperty("下单时间")
    private Timestamp orderTime;

    @ApiModelProperty("配送优先级")
    private DeliveryPriority deliveryPriority;

    @ApiModelProperty("门店编号")
    private String depotCode;

    @ApiModelProperty("门店名称")
    private String depotName;

    @ApiModelProperty("配送方式")
    private String deliveryWay;

    @ApiModelProperty("要求送达时间")
    private Timestamp requireSendTime;

    @ApiModelProperty("进入中台时间")
    private Timestamp accessToOms;

    @ApiModelProperty("买家备注")
    private String userRemark;

    @ApiModelProperty("卖家备注")
    private String sellerRemark;

    @ApiModelProperty("商品总金额(分)")
    private Integer productsAmount;

    @ApiModelProperty("商品优惠金额")
    private Integer productsFree;

    @ApiModelProperty("订单优惠金额")
    private Integer orderFree;

    @ApiModelProperty("平台优惠")
    private Integer platformFree;

    @ApiModelProperty("配送费用")
    private Integer deliveryFee;

    @ApiModelProperty("订单总金额")
    private Integer orderAmount;

    @ApiModelProperty("支付金额")
    private Integer paidAmount = 0;

    @ApiModelProperty("下单人")
    private String orderMan;

    @ApiModelProperty("下单人编号")
    private String orderManNo;


    @ApiModelProperty("会员账号")
    private String memberAccount;

    @ApiModelProperty("会员姓名")
    private String memberName;

    @ApiModelProperty("会员手机号")
    private String memberMobile;

    @ApiModelProperty("会员等级")
    private Integer memberLevel;

    @ApiModelProperty("收货人")
    private String consigneeName;

    @ApiModelProperty("收货人电话")
    private String consigneeMobile;

    @ApiModelProperty("收货人地址")
    private String consigneeDetailAddress;

}